<div class="bjui-pageContent">
    <form action="/admin/company/notes-edit" data-toggle="ajaxform" data-options="{closeCurrent:true,tabid:'order-send-list-navtab'}">
        <div class="bjui-row">

            <label class="row-label">运单号</label>
            <div class="row-input">
                <input type="text" name="sn" value="{{$info->sn}}" required>
            </div>

            <label class="row-label">快递名称</label>
            <div class="row-input">
                <select name="logistics_id" data-toggle="selectpicker" data-width="200" required>
                    <option value="">请选择</option>
                    @foreach ($logisticsList as $val)
                        @if ($val->id == $info->logistics_id)
                            <option value="{{$val->id}}" selected>{{$val->title}}</option>
                        @else
                            <option value="{{$val->id}}">{{$val->title}}</option>
                        @endif
                    @endforeach
                </select>
            </div>

            <label class="row-label">数量</label>
            <div class="row-input">
                <input type="text" name="number" value="{{$info->number}}">
            </div>

            <label class="row-label">重量</label>
            <div class="row-input">
                <input type="text" name="weight" value="{{$info->weight}}">
            </div>

            <label class="row-label">运费(元/吨)</label>
            <div class="row-input">
                <input type="text" name="freight" value="{{$info->freight}}">
            </div>

            <label class="row-label">预计到货时间</label>
            <div class="row-input">
                <input type="text" name="finish_time" value="{{$info->finish_time}}" data-toggle="datepicker" data-pattern="yyyy-MM-dd HH:mm:ss">
            </div>

            <label class="row-label">到货提醒</label>
            <div class="row-input">
                @if ($info->is_remind_finish==1)
                    <input type="checkbox" name="is_remind_finish" value="1" data-toggle="icheck" checked>
                @else
                    <input type="checkbox" name="is_remind_finish" value="1" data-toggle="icheck">
                @endif
            </div>

            <label class="row-label">行驶证</label>
            <div class="row-input">
                <div style="width: 300px">
                    <input type="file" data-name="driving_license" data-toggle="webuploader" data-options="
                {
                    pick: {label: '点击选择图片'},
                    server: 'admin/photo/upload',
                    fileNumLimit: 1,
                    formData: {_token : '{{ csrf_token() }}',path_type:4},
                    required: true,
                    uploaded: '{{$info->driving_license_img}}',
                    initUploaded: '{{$info->driving_license}}',
                    basePath: '',
                    accept: {
                        title: '图片',
                        extensions: 'jpg,png',
                        mimeTypes: '.jpg,.png'
                    }
                }">
                </div>
            </div>

            <label class="row-label">驾驶证</label>
            <div class="row-input">
                <div style="width: 300px">
                <input type="file" data-name="driver_license" data-toggle="webuploader" data-options="
                    {
                    pick: {label: '点击选择图片'},
                    server: 'admin/photo/upload',
                    fileNumLimit: 1,
                    formData: {_token : '{{ csrf_token() }}',path_type:4},
                    required: true,
                    uploaded: '{{$info->driver_license_img}}',
                    initUploaded: '{{$info->driver_license}}',
                    basePath: '',
                    accept: {
                    title: '图片',
                    extensions: 'jpg,png',
                    mimeTypes: '.jpg,.png'
                    }
                    }">
                </div>
            </div>

            <input type="hidden" name="order_id" value="{{$orderId}}">
            <input type="hidden" name="id" value="{{$info->id}}">
            <label class="row-label"></label>
            <div class="row-input">
                <input type="hidden" name="is_submit" id="is_submit" value="1">
                <button type="submit" class="btn-default">保存</button>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript"></script>